:root {
    --bg-main: #1a1a1a;
    --bg-card: #242428;
    --bg-input: #1e1e22;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-accent: #64b5f6;
    --text-gold: #ffd700;
    --border-color: #3a3a3e;
    --border-accent: #4a4a52;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --primary-blue: #2196f3;
    --ancient-gold: #c9b037;
    --tech-cyan: #00e5ff;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    background: var(--bg-main);
    color: var(--text-primary);
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
    margin: 0;
}

.webview-body {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 16px 16px;
    gap: 10px;
}

.version-indicator {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
}

.license-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.license-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.license-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.license-text {
    font-size: 13px;
    background: linear-gradient(135deg, #2196f3 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.license-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.status-dot.active {
    background: var(--success-color);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.activation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    position: relative;
    overflow: visible;
    min-height: 70px;
}

.activation-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    gap: 3px;
}

.activation-title {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
}

/* 前往购买链接样式 */
.shop-link {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 193, 7, 0.1) 50%, rgba(76, 175, 80, 0.1) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.shop-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.shop-link:hover::before {
    left: 100%;
}

.shop-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.6);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 193, 7, 0.15) 50%, rgba(76, 175, 80, 0.15) 100%);
}

.shop-icon {
    font-size: 12px;
    filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.5));
    animation: shopIconBounce 2s ease-in-out infinite;
}

@keyframes shopIconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-2px) scale(1.1); }
}

.shop-text {
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFC107 50%, #4CAF50 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
    animation: shopTextShine 3s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes shopTextShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.shop-link.hidden {
    display: none;
}

.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
    width: 100%;
}

.card-input {
    flex: 1 1 auto;
    height: 34px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--text-primary);
    font-size: 12px;
    transition: all 0.3s ease;
    min-width: 0;
}

.card-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 1px var(--primary-blue);
    background: rgba(33, 150, 243, 0.05);
}

.card-input::placeholder {
    color: var(--text-secondary);
}

.activate-button {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.activate-button::before {
    content: '◇';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 12px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.activate-button::after {
    content: '⟡';
    position: absolute;
    bottom: 4px;
    left: 8px;
    font-size: 8px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.activate-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.info-grid {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    min-height: 36px;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row:hover {
    background: rgba(100, 181, 246, 0.03);
}

.data-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.data-value {
    font-size: 11px;
    color: var(--text-accent);
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.data-action {
    font-size: 10px;
    color: var(--text-secondary);
    margin-left: 6px;
    opacity: 0.8;
}

.energy-monitor {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    position: relative;
    overflow: visible;
    min-height: 80px;
}

.energy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.energy-title {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.refresh-button {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-cyan));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.refresh-button:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.energy-progress {
    position: relative;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 6px 0;
}

.energy-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ancient-gold) 0%, var(--tech-cyan) 50%, var(--primary-blue) 100%);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.energy-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 10px;
}

.energy-label {
    color: var(--text-secondary);
}

.energy-value {
    color: var(--text-accent);
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.status-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 11px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.3), transparent);
}

.status-card.info {
    border-color: var(--primary-blue);
    color: var(--text-accent);
}

.status-card.success {
    border-color: var(--success-color);
    color: var(--success-color);
}

.status-card.error {
    border-color: var(--error-color);
    color: var(--error-color);
}

.status-card.warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.main-actions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0px;
}

.action-btn {
    height: 40px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-renewal {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 50%, #64b5f6 100%);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-renewal::before {
    content: '⚡';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 14px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.btn-renewal::after {
    content: '⟞';
    position: absolute;
    bottom: 4px;
    left: 6px;
    font-size: 8px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.btn-renewal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(25, 118, 210, 0.3);
}

.btn-renewal:hover::before {
    opacity: 0.5;
}

.btn-privilege {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 50%, #ba68c8 100%);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-privilege::before {
    content: '◆';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 14px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.btn-privilege::after {
    content: '⟢';
    position: absolute;
    bottom: 4px;
    left: 6px;
    font-size: 8px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.btn-privilege:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(123, 31, 162, 0.3);
}

.btn-privilege:hover::before {
    opacity: 0.5;
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.action-btn.loading::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.admin-warning {
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    font-size: 10px;
    color: var(--warning-color);
    text-align: center;
}

.admin-warning button {
    margin-top: 6px;
    padding: 4px 10px;
    background: var(--warning-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-warning button:hover {
    transform: translateY(-1px);
}

/* 版本设置卡片 - 自适应单行显示 */
.version-settings {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap; /* 强制不换行 */
    min-height: 40px;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0; /* 允许flex项目缩小到内容以下 */
    overflow: hidden;
}

.version-icon {
    font-size: 14px;
    opacity: 0.7;
    flex-shrink: 0; /* 图标不缩小 */
}

.version-text {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

.version-number {
    color: var(--text-primary);
    font-weight: 600;
    display: inline;
}

.update-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* 开关区域不缩小 */
}

.update-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 46px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active {
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
}

.toggle-switch.active::before {
    left: 25px;
}

/* 免魔法功能卡片 - 现代化设计 + 单行自适应 */
.magic-settings {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.08) 0%, rgba(0, 229, 255, 0.06) 100%);
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 0px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap; /* 强制不换行 */
    min-height: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(139, 69, 255, 0.1);
}

.magic-settings::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 255, 0.1), rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.magic-settings:hover::before {
    left: 100%;
}

.magic-settings::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 255, 0.6), rgba(0, 229, 255, 0.6), transparent);
}

.magic-settings:hover {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.12) 0%, rgba(0, 229, 255, 0.10) 100%);
    border-color: rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 255, 0.2), 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.magic-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0; /* 允许flex项目缩小到内容以下 */
    overflow: hidden;
}

.magic-icon {
    font-size: 16px;
    flex-shrink: 0; /* 图标不缩小 */
    animation: magicPulse 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

@keyframes magicPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    25% { 
        transform: scale(1.05) rotate(-3deg);
    }
    50% { 
        transform: scale(1.1) rotate(0deg);
    }
    75% { 
        transform: scale(1.05) rotate(3deg);
    }
}

.magic-text {
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #8B45FF 0%, #00E5FF 50%, #8B45FF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    position: relative;
    animation: magicTextShine 3s ease-in-out infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    min-width: 0;
}

@keyframes magicTextShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.magic-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* 开关区域不缩小 */
}

.magic-label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.magic-label::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B45FF, #00E5FF);
    transition: width 0.3s ease;
}

.magic-settings:hover .magic-label::before {
    width: 100%;
}

/* 免魔法开关状态样式 */
.magic-label.active {
    background: linear-gradient(135deg, #8B45FF 0%, #00E5FF 50%, #8B45FF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: magicLabelShine 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(139, 69, 255, 0.3));
}

@keyframes magicLabelShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.magic-label.inactive {
    color: var(--text-secondary);
    opacity: 0.8;
}

.hidden {
    display: none !important;
}

.loading {
    pointer-events: none;
    opacity: 0.8;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--border-color), var(--border-accent));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-cyan));
}

/* 响应式优化 - 确保版本设置和免魔法功能在窄屏下也能单行显示 */
@media (max-width: 320px) {
    .version-settings,
    .magic-settings {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .version-icon {
        font-size: 12px;
    }

    .magic-icon {
        font-size: 14px;
    }
    
    .version-text,
    .magic-text {
        font-size: 10px;
    }
    
    .version-info,
    .magic-info {
        gap: 4px;
    }
    
    .update-control,
    .magic-control {
        gap: 6px;
    }
    
    .update-label,
    .magic-label {
        font-size: 10px;
    }
    
    .toggle-switch {
        width: 42px;
        height: 22px;
    }
    
    .toggle-switch::before {
        width: 16px;
        height: 16px;
    }
    
    .toggle-switch.active::before {
        left: 22px;
    }
}

/* ========== 持久通知弹窗样式 ========== */
.persistent-notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.persistent-notice-modal {
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    border-radius: 12px;
    padding: 20px;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.persistent-notice-modal.error {
    border-color: var(--error-color);
}

.persistent-notice-modal.warning {
    border-color: var(--warning-color);
}

.persistent-notice-modal.info {
    border-color: var(--primary-blue);
}

.persistent-notice-modal.success {
    border-color: var(--success-color);
}

.persistent-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.persistent-notice-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.persistent-notice-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.persistent-notice-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: scale(1.1);
}

.persistent-notice-content {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-line;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 8px;
}

.persistent-notice-content::-webkit-scrollbar {
    width: 4px;
}

.persistent-notice-content::-webkit-scrollbar-thumb {
    background: var(--border-accent);
    border-radius: 2px;
}

.persistent-notice-actions {
    display: flex;
    gap: 8px;
}

.persistent-notice-btn {
    flex: 1;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.persistent-notice-btn.primary {
    background: linear-gradient(135deg, var(--error-color), #ff6b6b);
    color: white;
}

.persistent-notice-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.persistent-notice-btn.secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.persistent-notice-btn.secondary:hover {
    background: var(--border-color);
} 